<?php

namespace App\Http\Controllers\Home;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

class ClearController extends Controller
{
     //退出
    public function getClear()
    {
        session()->forget('userid');

        return redirect('/home/');
        //return view('home.home.index');
    }
}
